package com.practice.service;


import com.github.yulichang.base.MPJBaseService;
import com.practice.dto.user.ListUserParam;
import com.practice.entity.UserDO;
import com.practice.response.ResponseL;
import com.practice.response.ResponseR;
import com.practice.vo.user.DeleteUserParam;
import com.practice.vo.user.ListUserVO;
import com.practice.vo.user.UserBO;

/**
 * @author: kayn
 * 2024/5/8
 */
public interface UserService extends MPJBaseService<UserDO> {

    /**
     * 用户列表
     * @param param 1
     * @return 1
     */
    ResponseL<ListUserVO> listUser(ListUserParam param);

    /**
     * 新增用户
     * @param userBO 1
     * @return 1
     */
    ResponseR<String> saveOrUpdateUser(UserBO userBO);

    /**
     * 获取用户数量
     * @return 1
     */
    Integer getUserNum();

    /**
     * 删除用户
     * @param param 1
     * @return 1
     */
    ResponseR<?> deleteUser(DeleteUserParam param);

    /**
     * 获取天选
     * @return 1
     */
    String getAvatar();
}
